package cn.kshost.zqyg.manager.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SysUserRoleMapper {


    void deleteRoleByUserid(@Param("userId") Long userId);


    void insertUserRole(@Param("userId") Long userId,@Param("roleId")  Long roleId);

    List<Long> selectRoleIdsByUserId(@Param("userId") Long userId);
}
